package com.xiaoyu.lingdian.service;

import com.xiaoyu.lingdian.entity.CoreRepairType;

import java.util.List;
import com.xiaoyu.lingdian.core.mybatis.page.Page;
public interface CoreRepairTypeService {

	/**
	* 添加
	* @param coreRepairType
	* @return
	*/
	public boolean insertCoreRepairType(CoreRepairType coreRepairType);

	/**
	* 修改
	* @param coreRepairType
	* @return
	*/
	public boolean updateCoreRepairType(CoreRepairType coreRepairType);

	/**
	* 删除
	* @param coreRepairType
	* @return
	*/
	public boolean deleteCoreRepairType(CoreRepairType coreRepairType);

	/**
	* 批量删除
	* @param list
	*@return boolean
	*/
	public boolean deleteBatchByIds(List<String> list);

	/**
	* 查询
	* @param coreRepairType
	* @return
	*/
	public CoreRepairType getCoreRepairType(CoreRepairType coreRepairType);

	/**
	* 查询所有List
	*@return List
	*/
	public List<CoreRepairType> findCoreRepairTypeList();

	/**
	* 查询所有Page
	*@return Page
	*/
	public Page<CoreRepairType> findCoreRepairTypePage(int pageNum, int pageSize, String crrteName);

//<=================定制内容开始==============
//==================定制内容结束==============>

}